package zh.codegym.task.task04.task0421;

/* 
珍或珍？
*/

import java.io.*;
import java.util.Scanner;

public class Solution {
    public static void main(String[] args) throws Exception {
        //在此编写你的代码
        Scanner scanner = new Scanner(System.in);

        String name1 = scanner.next();
        String name2 = scanner.next();

        if(name1.equals(name2)){
            System.out.println("名字相同");
            return;
        }else if(name1.length() == name2.length()){
            System.out.println("名字长度相同");
        }
    }
}
